public function run(Request $request, Application $app) { parent::run($request, $app); if (!Session::getRealUser()->isAdmin()) { self::failAuthResponse($app, "You're not authorized"); } }