Changed public_id type to usergroup to display drop down box with groups