Generated a profile controller