add basic groups api