Search textbox added and made it work