public UserProvider(string name, IRepository <User> userRepository)
 {
     UserIdentity = new UserIdentity(name, userRepository);
 }
 public UserProvider()
 {
     UserIdentity = new UserIdentity();
 }