changed post to html
handle html posts