Moved The interceptor logic into a controller superclass