created and displayed the post