Add authentication to the index