Added cookie session data to index() in view.py