install cors
update template for chat