added reverse into views.py