Updating to use LocalAuth