For example, when the user checks out a page, the device is connected to the machine; it will help him identify the device. He will be able to read it, and write on it. I came up with a Java program, but it does not fully serve the purpose.