Added more code dealing with Authentication and System Inventory.