Join init of register page into one wire handler.
Add cleanup on exit code for register page.