Fixed login logic handling.