public CustomIdentity(string username, bool isAuthenticated) { _name = username; _isAuthenticated = isAuthenticated; }