Added logout to test.php