Update views.py

Replace simplejson with json
Use session.update instead of iterating out session data.