removed connect button and added auto-connect and disconnect