i dont know how to control two outputs with a single control loop
Neither does anyone else. Your output has two degrees of freedom, and your control input only one. That's a fundamental problem you can't fix with any amount of clever design. Physics can be annoying like that.
However, you can try to make the two outputs track well. One way is to make each as low impedance as possible. The outputs will track each other better the lower the sum of the two open-loop output impedances are.
You also need to decide what is the most important parameter to control. Must each output always have some minimum voltage? Or, is it more important that some maximum output is never exceeded?
Once you know the important control criteria, you can make a circuit OR or AND them into a single signal that says whether you want more or less overall output. For example, if both outputs need to maintain some minimum voltage, but a little higher is OK, then create a single signal that indicates when both outputs are above their minimum. You then use that with a pulse-on-demand controller to decide when to create pulses, and when to stop. The result is that one output will always be at its regulation threshold, while the other might be a bit higher.
Since this is a flyback converter, you also have to make sure the two output windings match their desired output voltages. Make sure to include the diode drops in deciding what each winding must produce. You want the two windings balanced so that the output energy of each pulse is balanced when the two outputs are at their desired levels.