Fixed the login stuff.