Generated a profile controller.