only do login for some vmc related commands