Pull out page and lesson variables. Should these come from the query string?