Changes to auth