changed register and edit profile