change refcount to coin, modify User.hbm.xml