add text_post and image_post basic validations