validation for comment model