Add validations for posts
Editing posts