Add hacky barcode module
Fix error handling in LDAP