added server config to app.js