Revert "Store messages in sessions"

This reverts commit 74a364001984feef80c99779ad36c7da971f1ef6.