added model validations for topics