redirects the root to the login when not logged in