Moved mongo URL to config.js and fixed the config.