public async Task<ActionResult> Register(RegisterViewModel model)
        {
            if (ModelState.IsValid)
            {
                var user = new User
                {
                    UserName = model.Username,
                    Email = model.Email,
                    LinkedInProfile = model.LinkedInProfile,
                    FacebookAccount = model.FacebookAccount,
                    Age = model.Age,
                    FirstName = model.FirstName,
                    LastName = model.LastName,
                    Genre = model.Genre,
                    AboutMe = model.AboutMe,
                    CreatedOn = DateTime.Now,
                    Status = Status.Pending,
                    SkypeName = model.SkypeName,
                    IsGroupManager = false,
                    DateRegistered = DateTime.Now
                };

                user.FacultyNumber = this.usersService.GetLastFacultyNumber() + 1;

                var result = await this.UserManager.CreateAsync(user, model.Password);
                if (result.Succeeded)
                {
                    await this.SignInManager.SignInAsync(user, isPersistent: false, rememberBrowser: 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 <a href=\"" + callbackUrl + "\">here</a>");

                    var userManegemnet = new UserManagement(this.Server);
                    userManegemnet.EnsureFolder(user.Id); 
                    return this.RedirectToAction("Index", "Home");
                }

                this.AddErrors(result);
            }

            //// If we got this far, something failed, redisplay form
            return this.View(model);
        }