adding routes and changing router.js