title: Roles Create New DataBase When I Add a user to a role in MVC 5
body: <p>i create my own database and add user identity table to this by change the connection string.
  now my connection string is this:
          </p>
  
  <p>when i create a new user it worked well.
  but when i change the  Register(RegisterViewModel model) in  RegisterControler to add a user to a role like this code:
        public async Task Register(RegisterViewModel model)
          {
              if (ModelState.IsValid)
              {
                  var user = new ApplicationUser() { UserName = model.Email, Email = model.Email };</p>
  
  <pre><code>            IdentityResult result = await UserManager.CreateAsync(user, model.Password);
              if (result.Succeeded)
              {
                  //add user to member role******************
                  if (!Roles.RoleExists("Member"))
                      Roles.CreateRole("Member");
                  Roles.AddUserToRole(model.Email, "Member");
                  //*******************************************
  
                  await SignInAsync(user, isPersistent: false);
  
                  // For more information on how to enable account confirmation and password reset please visit http://go.microsoft.com/fwlink/?LinkID=320771
                  // Send an email with this link
                  // string code = await UserManager.GenerateEmailConfirmationTokenAsync(user.Id);
                  // var callbackUrl = Url.Action("ConfirmEmail", "Account", new { userId = user.Id, code = code }, protocol: Request.Url.Scheme);
                  // await UserManager.SendEmailAsync(user.Id, "Confirm your account", "Please confirm your account by clicking &lt;a href=\"" + callbackUrl + "\"&gt;here&lt;/a&gt;");
  
                  return RedirectToAction("Index", "Home");
              }
              else
              {
                  AddErrors(result);
              }
          }
  
          // If we got this far, something failed, redisplay form
          return View(model);
      }
  </code></pre>
  
  <p>user registerd but dont add to member Role! and it seem there is another connection string for Roles! beacause whene run this code ASPNETDB.MDF created in App_Data!</p>
  
  <p>Please help me to solve this problem</p>