public ActionResult RegisterNewUser(RegisterUserModel model, HttpPostedFileBase image)
        {
            if (ModelState.IsValid)
            {
                if (image != null)
                {
                    model.ImageMimeType = image.ContentType;
                    model.ImageData = new byte[image.ContentLength];
                    image.InputStream.Read(model.ImageData, 0, image.ContentLength);
                }

                if (this.userProcessor.CreateUser(model.UserName, model.Password, model.Email, string.Empty, model.ImageData, model.ImageMimeType))
                {
                    this.userProcessor.LogOnUser(model.UserName, model.Password);
                    var user = this.userProcessor.GetUserByName(model.UserName);
                    this.projectProcessor.CreateDefaultProject(user);
                    return this.RedirectToAction("Index", "Landing");
                }
            }

            ModelState.AddModelError(string.Empty, "Wrong registration data. Please, try again!");
            return this.View(model);
        }