store card scans in sqlite3 database