setting up the mongo databse