Changed to Thread.CurrentPrincipal