fix bugs in create_user_and_agent
Merge branch 'master' of github.com:valnet/valuenetwork