public string CheckUserNameAvailibility(RegisterModel user)
 {
     return AccountDAL.IsUserNameAvailable(user.UserName);
 }
 public ActionResult Register(RegisterModel user, string returnUrl)
 {
     AccountDAL.registerUser(user.UserName, user.Address, user.dob, user.ContactNo, user.EmailID, user.gender, user.Password, user.Name);
     return View("RegistrationSuccess");
 }