getMessageByUserID in ServerModel class