ction connect() {
			var status = 'ok';
			var uname = $('#uname').textbox('getValue');
			var passwd = $('#passwd').textbox('getValue');
			$.ajax({
				type: 'POST',
				timeout: timeout,
				url:  serverBase + '/connect',
				data: {'host': etcdBase, 'uname': uname, 'passwd': passwd},
				async: false,
				dataType: 'json',
				success: function(data) {
					if (data.status === 'ok') {
						console.log('Connect etcd success.');
						//alertMessage('Connect etcd success.');
					} else if (data.status =