updated user management pages to use new Db class