public function handle($request, Closure $next) { if ($request->user()) { return $next($request); } else { abort(403, 'Unauthorized action.'); } }