login regex updated, trimming left whitespaces from command args