add user parameter to message_payload method