making progress on mongo connection