added gui components for creating a post