finished the getMessageByUserResource interface