Search for agent names in sessionStorage instead of localStorage