Adds links between pages