yes....heres terrific advice.. never use flatfile for user authentication
Reasons
1) Cannot change password
2) If lots of users, slow pocessing time.
Id suggest Mysql Database
If you want more help PM me.. I have a script.. or better yet, reply here and ill get back asap