urls.py and views.py updated