fixed search. a list is now dynamically generated. NOTE: empty message is broken
I dont know whats wrong, so I'm leaving it out for now