FIX:base.html home page link error.
MODIFY:middlreware now don't hit database when visit admin views.