edit local.conf to use kif database, edit user query to return balance, implement STATE_CREDIT skeleton