changed auth_codes.js to autogenerated codes;