Add validations to post and section.