fix installer which broke when abstracting user class
working groups pivot with site_id