Implemented TableModel for message view