Altered Mongodb connection to use connection string for Heroku compatibility.