added enable/disable of MongoDB support