Added post creation and editing feature