save purchases and check login status from js
meditation purchase prompts you to log in