Client redirects to login page if not logged in.