adding http basic auth, added super call to initialize, added key to yaml_handler method