pub async fn auth_middleware( __arg0: State<Arc<AppState>>, request: Request, next: Next, ) -> Response