added graphic interface to take ip address of server