Create search function
Add refresh function for the show data pages