profile edit controller