Added mongo persistence