Added middleware to set useful props on req objects