added GetAllPersonIds to db.py