getLastInsertId() added to DBManager