added auth support to builder.py