finished search and fav and borrow pages with new db tables