Updated views.py, added register and unauthorized_homepage pages.