abstracting loading of req object