Adding a middleware to log each request/response the server does