added mongo db adapter