changed redirecting url to edit_profile