added search feature for resources selection