Update index.php

Just took out the php snippet that called for session_destroy(). 

It was executing every time the page was loaded instead of when the exit button was clicked.