Login revised, edit profile and edit password