Add validations to the posts