port bpo-first-by-user to DBIS+SQLI