add request/response logging