Added logging functionality
Fixed connection error when support host got changed