Added a search function to the template.  It works but definately needs some more work.