Enable mongo connection.