logout(); // register the auth facade $alias = AliasLoader::getInstance(); $alias->alias('Auth', 'Winter\User\Facades\Auth'); App::singleton('user.auth', function () { return \Winter\User\Classes\AuthManager::instance(); }); } }