Generates profile controller