added connection textbox and date format