fix bug in db.js
fix bug in topicIndex.jade
new router