public function handle(Request $request, Closure $next)
{
if(Auth::user()->admin()==0){
return redirect()->route('index');
}
return $next($request);
}
Route::get('/admin', [App\Http\Controllers\AdminController::class, 'admin'])->middleware('isadmin');