void ShowCreateNewUser()
        {
            IsAuthorised = false;
            var allParticipantsVM = new CreateNewUserViewModel(new MembershipContext())
            {
                ChangeToThisUserOnSave = GetCurrentPrincipal().Identity.Name == "Admin"
            };

            this.Workspaces.Add(allParticipantsVM);
            this.SetActiveWorkspace(allParticipantsVM);
        }
        void HandleCreateNewUserClose(CreateNewUserViewModel vm)
        {
            vm.MembershipContext.Dispose();
            var identity = GetCurrentPrincipal().Identity;

            if (identity == null || identity.IsAuthenticated == false || identity.Name == "Admin")
            {
                Logout();
            }
            else if (vm.ChangeToThisUserOnSave)
            {
                HandleAuthorisationClose();
            }
            else
            {
                IsAuthorised = true;
            }
        }