+login, trim code