save user data to server