refactoring GuestBookPanel - spring.