return type form token to {token,uid}