add basic chat functionalty