check()) { return redirect()->route('admin_login')->with('error','You are not authorized as admin!'); } return $next($request); } }