improve previous addressbook system with Hibernate