added mongo connection