removed input after connect & add submit on enter