add mongodb configuration