Stuck on loading...
If there is a token, but the token is not valid anymore (eg. because it expired), it doesn't get unset.
This ends up in a scenario where you have the expired token set in localstorage and instead of the login page you get a "Loading..." screen that never goes away.
We need to check if the token is expired/valid, and if it is, delete it and redirect to the login screen.