Update users.py to use db.py
Update db.py adding support for list