Don't you need to add the middlewares in the pipeline?