Anish | disconnect connect logic