worked some more on the login process