Adds authentication control