implementing back the loadMessagesById in messageList