add `req` to context for convenience