Add groups to server

This should probably go via the group collection, even though the result is the same.