You should remove this entire script block because `__loginAPI` got deleted elsewhere