Implement the page lookup functionality