rewrite blogit-new-post function