adds username/key auth and improves documentation