Added REST functionality for the groups API

`when an no group` typo