diff --git a/Wetterstation/Form1.cs b/Wetterstation/Form1.cs
index c0badb3c10301a13c6904b1fbb681ed53f2547d2..9bb12925c1af11ca529ff663df2b587049fabc46 100644
--- a/Wetterstation/Form1.cs
+++ b/Wetterstation/Form1.cs
@@ -76,26 +76,19 @@ namespace Wetterstation
             lbDatum.Text = DateTime.Now.ToShortDateString();
         }
 
-      
-
-
-      
-
         //MQTT connect
         public void mqttStart()
         {
             String topic_publish = "/wetterstation/backend/" + WeatherstationSettings.frontendId + "/";
             String topic_subscribe = "/wetterstation/frontend/" + WeatherstationSettings.frontendId + "/#";
 
-            System.Console.WriteLine("Hello, World!");
             // Create Client instance
             this.myClient = new MqttClient("mqtt.itstall.de");
 
             // Register to message received
             myClient.MqttMsgPublishReceived += client_recievedMessage;
 
-            string clientId = Guid.NewGuid().ToString();
-            this.myClient.Connect("", "wetterstation", "wetterstation");
+            this.myClient.Connect(WeatherstationSettings.frontendId, "wetterstation", "wetterstation");
 
             // Subscribe to topic
             this.myClient.Subscribe(new String[] { topic_subscribe }, new byte[] { MqttMsgBase.QOS_LEVEL_EXACTLY_ONCE });