Refactor req2params to make setting db credential easier