added --one support for login
v0.5.2