added showMessages view and some methods in MessageList