Added connection to mongodb