add unique code to usergroup
make setEmail also setUsername