upadted mongo connection to use connection url to allow authenticated connections