created views.py and edited urls.py