using mongo for messages