updates to login process