Fixed Client side Logout Glitch

Fix a glitch where after destroying the session the $_SESSION variable
would still be set and accessible.