Add the saving of the messages