Fix logout() by testing for active session before destroying
Fixed my fix to support <PHP 5.4