added the ability to register and login, login and logout. Also added a permenant remember me function to keep the user logged in until they signout.