updated app.js for proxy with express