- the token in user's localStorage might not be valid due to some conditions, so user will see the server's loading neverendingly - we could expire the token in certain period and request it again - or we should add a page to show `unauthorized` instead of endless loading, and add a button to let the user request the auth token again from the server
unauthorizedinstead of endless loading, and add a button to let the user request the auth token again from the server