add req, res to output of route