Added frontend sockety stuff