connected to the configured mongodb