finally connected to the server