New function userHandleToBase64