API Fix inactive login