updated profile page to allow for logout