api for getting groups and users works, templating api also works, todo: add the rest of the functionality