added mongodb database call to the import