My goal was to make invalid token a global state, so I can render the sell page if jwt token is valid; if not redirect the user to login page. However, the isVa