persist userState

As part of the effort to eliminate sign-in popup