chat validations