implemented the connection panel