Applying posts validation