Add authentication to the API