return res.json({errmsg: "Not allowed to post"});
const content = sanitizeHtml(req.body.news.content);
NewsModel.create(content, req.userId, (err,ret) => {
return res.json({errmsg: "Not allowed to post"});
const content = sanitizeHtml(req.body.news.content);
NewsModel.create(content, req.userId, (err,ret) => {