User Group api function added