added tests for encrypted versions
simplify routing of chat, finish up tests
store the proper object in the persistent log
throw error if trying to store a sophisticated object in persistent log (hacky), return early properly when ChatMessage is already unwrapped