nice job skipping the login page if the user is already logged in.