Merge pull request #1 from takaya1992/bug_fix_generated_files

bug fix of generated files
send a token when authenticate
Merge pull request #2 from takaya1992/send_auth_token

send a token when authenticate