Fix bug in Stats counter - was only adding InvalidSessionKeys
Added Logout mechanism

This deletes the session record