added ui to allow groups to be public or private, fixed autocomplete to search when item is selected