Init search functionality