provide example connection contoller, add logging