middleware('guest'); Route::get('filter', [PeopleController::class, 'filter'])->middleware('guest'); Route::post('filter', [PeopleController::class, 'filter_post'])->middleware('guest'); Route::get('cases', [CrimeCaseController::class, 'cases'])->middleware('guest'); Route::get('case', [CrimeCaseController::class, 'case'])->middleware('guest'); Route::get('finished_cases', [CrimeCaseController::class, 'index'])->middleware('guest'); Route::get('register-policeman', [OfficerController::class, 'register'])->middleware('guest'); Route::post('register-policeman', [OfficerController::class, 'register'])->middleware('guest');