added mongo db connection