adding mongo connection