Added forms.py and edited the views.