public AccountsController()
 {
     userProvider = AccountFactory.CreateAccountProvider(ConfigurationManager.AppSettings["providerType"]);
 }