Please note that this authentication system isn't really secure. I'm currently writing a tutorial on how to have a more secure authentication system using mySQL.