Added quote addition functionality

also fixed double connection