Beginning of the login/registration system. Registration is now working, but login needs work.