fix error on UserRoutes.js, empty query object