Get chat and message history somewhat working