added loans

added loans, search library, view available lenders for a book, view borrowed books, view loaned books, view pending requests, approve a request, mark a book as returned, deny a request