Minor update to app.js for redirections