Update views.py

Changes for Guest user login