fixed User Group, added validation