adds registration to the page.