Added a searchfunction to the web application