Fixed some things in the login.