adding function that pair device with a person by deviceID and person's ID