Adding post validation