replace user_name with username
convert codes to two new apis: codes and code_ids
new code method for user
Merge branch 'release/0.4.4'