add token_expires method