Adding USERDATA_ENCODING-base64 in context and converting userdata to
base64