fixed typo in security, add ProducerDefinition

fixed typo in closing security tag
added ProducerDefinition