update for login activity