Add fetching random page functionality