Added validations on Post