added logic to not borrow book already borrowed, updated tag handler to display proper button