Error display edit profile

Build in a check that if the email already excists display an error.
If not, update the user. Also build in an remember logic in the controller that returns the user for the profile edit page