Adds authentication foundations