page links and search function