implement chat feature and opening/closing chat windows