Updated schema to allow not using a realm