Add authentication and authorization.