fix for inactive user login