maj gui for connection