Finally found a fix to the problem with the users. Now id64 is passed to the js part as a string instead of numeric type.