changed error to ok for connect , discon and recon for console