Created new AuthConfig class