redesigned ui logic && rebuild domain controller