Switching 5V from LiPo and USB on MKR1010

Hello.

I'm using MKR1010 which has on-board LiPo charger and regulator to power the board.
It takes 5V from USB or Vin to charge and provides 3V3 to power CPU.
There is also 5V out, which is relayed from Vin or USB.
However there is no step up convertor on board, so when the board is powered by LiPo there is no 5V which is required for some of my peripherals..

So I need some solution to boost LiPo voltage to 5V when there is no 5V input, and switch to USB or Vin power source when the board is externally powered and not disturb the charger.

Is there any idea on how the schematics may look like?

I guess for boost up I can use some TI TPS6120 or TPS6109.
And the switching logic might be somehow implemented with MOSFETs, right?