adding searchDataLoader method to controller, fixing entire search engine and form