added navigation to pages