Fix isTokenValid method