working on add device and syncing the devices