refactoring GuestBookPanel.