login and landing page changes

Made is so that a user can't just type the direct URL of the landing
page, requires user to be logged in.