phpmailer logout action