integrated barcode scanning functionality to login.