Changed urls.py and views.py