Redirects profile page to login if signed out.
fixes merge conflict