It takes an integer equal to the id of the page, so we don't pass in a url. I will remove code to fix 2) though.