Closes issue #64. Some changes were required to the session management, in particular the existing code was clearing localStorage on every page refresh. That actually defeats the purpose of using localStorage and useState could be used instead which might simplify things. But that's out of scope for this issue.
In any case, I've updated it to just clear the token data and included a button in the nav to clear all localStorage data.
Closes issue #64. Some changes were required to the session management, in particular the existing code was clearing localStorage on every page refresh. That actually defeats the purpose of using localStorage and useState could be used instead which might simplify things. But that's out of scope for this issue.
In any case, I've updated it to just clear the token data and included a button in the nav to clear all localStorage data.