get messages into the view