added auth support