insert and list messages