Logout now redirects to list.php after 3s