Integreated the auth_db check, non-registered barcodes will now fail