added search functionality on res page
search working on re page