add --username option
add --password option
--verbose and error output goes to stderr
output using sys.stdout, not print