login works with waiting animation.