added interceptor class to intercept all request/responses