Add auth access

Factored code out