Change accid from string to boolean