Added validations for Post