updated the login activity