Connect post and user models and add validation