changed redirect page to be login.php within logout.php and handled the GET lout==1 message.