Improved the logout

Username and password no longer required for logout.