connetc the server