library user/renter

changed library example to map res.user model for introduction to transaction()