Added automatic redirects for all pages that require to be logged in