data persistence of messages

data persistence of messages