gui added
socket need to be checked for connection