Complete loading animation with login logic