views.py: dashboard improvements