adding query middleware to add query param arguments to superglobal
stashing