How to add login with one device only

Hi,
Any one can help how to login one user with one device only

image

When user logic get device ID using this Extension and save the users user name and devise I’d into a firebase or airtable…

Nextime whenever user login just call the device info and user info, and if both matches with current login info alert user else login and save the above details into the database