validting posts