Added presence validation logic for post title and post text. Post text also requires minimum lenth, and has maximum length.