search page functionality done