Implement Mongodb storage and fix the header index link.