Added validation to posting