Implemented to enable submit button after connection established.