updated templates and views.py
updated templates