Please use ``User::isLoggedIn`` instead.