refactors request handler for createArticle.