Fixes the non-auth example and uses the new registerTool() method instead of tool()
registerTool()
tool()
1d13c32