Style fixes in the login command code

- Use C++ comments;
- Use := instead of var _ =