add configuration endpoint