chat controler