sync login to server