Added linking pages functionality