added interceptor to RestConfig class