Added error handling middleware too to the special middlewares