Merge pull request #315 from briandkid/master

Finished changes for deleting cache
Added session destruction functionality