protected function setupMiddleware()
    {
        $this->app['router']->middleware('user', UserMiddleware::class);
        $this->app['router']->middleware('roles', RoleMiddleware::class);
        $this->app['router']->middleware('permissions', PermissionMiddleware::class);
    }