Modified urls.py and views.py