Implement editProfile