added support for loading groups from a url