added isdemo to auth object