fix LoginCommand