Added authentication to borrow books