Fully working groups add/edit functionality