added getToken and getPayload stubs