Fixed bug in logout script

When logging out an extra slash (/) was added to the URL before the
index.php