Able to retrieve messages from server and display them