made a number changes to get initial page search functionality working