changes in router.js