@maisaraFarahat all these lines are unnecessary, you can just have return new Response('bad request', 401), same goes for all responses in this method.