Expose req and res to indexCallback