Renaming logger, and tidying up a bit
Basic auth for posting data to the server. Define the PW as an env var