working token schema. Expiry time not correct yet.