use mongo for data persistence