implemented registration user interface.