added search functionality
fixed search to properly work
made search case insensitive