public ActionResult Register(RegisterAccountModel accountModel)
        {
            AccountModel acc = LoginUtils.RegisterAccount(accountModel);

            if (acc != null)
            {
                String baseUrl = Request.Url.GetLeftPart(UriPartial.Authority);
                if (!baseUrl.Contains("localhost"))
                {
                    String[] urlPart = baseUrl.Split(':');
                    baseUrl = urlPart[0] + urlPart[1];
                }
                LoginUtils.SendConfirmationMail(acc, baseUrl);
                return(RedirectToAction("Confirmation"));
            }
            return(RedirectToAction("Register"));
        }