handle validation on posts#create