Show how to use `res.locals` in middleware example