Added connection to mongoDB