static methods for valid token checking
static methods for valid token checking