Updated router.js file and app.js