updated app.js for new route