changed vendor Login handler