regenerated Chat controller