edit profile fixes

Fixes to edit profile with controller for edit profile