Wrote authentication/authorization section