Adding global variable for ElasticSearch Host
Creating Event for ConnectButton