Updated UserGroup with getter and setter for groupCode