input field only enabled if connection has been established