Somewhat working implementation of the front-end. Minus actually registering.