Created and Updated UserGroup structs for API and Core