configure authentication API