Chnage accounts on pc?

i have 2 accs i play on horizon, on horizon 4 it works to logout on xbox app and log in with another acc and play but on horizon 5 it still logs in my main acc even if my second acc is logged in on xbox app? is this a bug and is there a workaround for this ?