persistence with mongo db