update profile and login fixes