- userData now stored in localStorage rather than sessionStorage
- check userData presence in localStorage
- localStorage.clear() on logout