fixed hybernate error when saving user