-update all functions that call endpoints to redirect the user to the login page if the call returns the error message "token has expired"
-add "tokenExpired" state to login page, useState, can either have the above send an object by props: {tokenExpired: true}, and have useState read that and set state to true, then have a function check the tokenExpired state and have a message popup displaying "Your session has expired. Please login again.". Or can have useState check the token itself, checking the payload date/time against the token expires_in and setting state to true or false that way.