On page reload, I use useEffect to get access token that is stored in memory from refresh token that is stored in cookie. So the user starts out as not logged in, but once t