refactor(group): update user group handling to utilize userUsableGroups directly and add GetUserGroupRatio function