public ActionResult UserInformation(User user)
        {
            try
            {
                _usersCollection.Save(user);

            }
            catch (Exception)
            {

                return View(user);
            }
            return RedirectToAction("Index");
        }
 public override string CreateUserAndAccount(string userName, string password, bool requireConfirmation, IDictionary<string, object> values)
 {
     try
     {
         //throw new NotImplementedException();
         User u = new User() {Name = userName, Password = password, NameLowerSpace = userName.ToLower()};
         _usersCollection.Save(u);
         return u.UserId.ToString();
     }
     catch(Exception e)
     {
         throw new MembershipCreateUserException("The unknown error wnen creating the user: " + e.Message, e);
     }
 }