finish login and edit profile