Checking if the token has expired