pick up the user more reliably on page refresh