sending device information to server