Remove window.currentUser code. Leave up to dev.