fixing routing issue for profile edits