adding get all messages on the message object