fixed bugs admin.html templates and views.py