updates to app.js for port and URLS