Added handling to erros when the token has expired.