made changes in app/views.py