Add chatCtrl and mainCtrl