consult checks if the user is logged in and redirects to the login page, for now