Added groups view controller logic to autocomplete text box