logout(); } catch(Exception $e) { echo 'Jasig authentication failed: '.$e->getMessage(); die(); }