Set window.currentUser