Created new files to optimize search function. Also merged the update
links from Antonio's part and added login verification in search form.