Using mongo client for connections