refactor
GET messages