move parameter encoding into its own function
return non when restapi returns no response
make script python3 compatible
print provisionning code after associating a user