Adds validations to comments/posts