fix client class and hibernate mapping table, rename table login to user