expose url query params to middleware
rename sample and add use of query
use /sum example