simplify httpInterceptor pattern