Handle case when token is not valid