ground work for connections endpoint