setup middleware file so we can change the response/request before/after handling the request