Refact define and undefine user as trustee