I have created middleware for React that can detect when a json web token is expired. I want to signout the user and redirect them to the homepage of my app when their token is