added search to pages