adding validations to article, comment and user models