added the generic controller interceptor