Added public API with authentication.