add mongodb connection