profile redirects not logged in people to login page