search page logic
refresh button logic