added connect to server