Added connect for server