read username and api key from the commandline or from an environment variable