Using console.error
Remove invalid token at startup