Use MongoDB to store connections