fixed loading animation on login