removed console.log statements from custom rest module