Added validation and substringed post content on index