added configuration for authentication.