login plugin fix