Added validations to posts & comments