Add loading of usergroup and role ids  from the api