new configurations for mongo connection