Implement the register view controller.