minor changes to login process