add PasswordHashSessionBean(2),RoleEntity,FunctionalityEntity, and other small changes