Update views.py

added registration, login, and logout views.