Validates post title and body