Update app.js

Now using config/config.js for mongodb / session and cookie