changed vendor Login handler again