How to write a logic to embed in wix such that when someone buys an online course on a wix website only that customer gets access to its resources.