added auth key support