added mongodb integration