Added groups to locations api