adding validations to article model