Require login for some pages. Redirect to home if not logged in