separate view and edit profile pages in login chain