Add log in requirement to required pages