Added execute search function and navigation to results page