main tab init getAllGames and loginPopup correct