added view page, searching works now