Check out feature working. When book is checked out, book gets associated with a friend. When book is checked back in, its association with a friend is replaced by nil.