use req.query and storageKey in options