Feature/transaction

at first that I thought this step required owner to update the book's status. Since now it does not include that feature, I will rename it to handle_loss(self)