fixes POST request and form UI for new post creation