Message persistence with mongo