require login

requires the user to login for certain pages.