Add unregister page

Confirming a fresh registration is enough be removed from the directory.
Most of this code is adapted from TS-Browser.