Bug 1024920 - added a middleware for reporting needs

this still need to be done