Adding chat handler