added chat controller + events