updated sendpayload key to include the userid