fixed some links, put in upload code into the pages, along with non functioning searchbar in index