Update views.py

Handle non-login user for get_notification_update.