added searching and clear team
adding autocomplete search and clear team
function to get datalist options
new rules for search bar