Fix issues

Fix index page.
Fix database connection in ajax hint.
Add auto refresh for updating packages.
Add history view for apt center.