updates login process