Redirects you to a log-in page when you try and access a page while not logged
in