private void RegisterClick_View(object sender, EventArgs e)
        {
            User user = new User(register.NameUser, register.Password);

            userListPresenter.AddUser(register.NameUser);
            AuthenticationService.UsersList.Add(user);
            MessageBox.Show("User " + register.NameUser + " successfully registered", "information", MessageBoxButtons.OK, MessageBoxIcon.Information);
            register.IsRegister(!registration.IsRepeatName(register.NameUser) && registration.IconName(register.NameUser) && registration.IconPassword(register.Password) &&
                                registration.IsConfirmPasswordCorrect(register.ConfirmPassword, register.Password));
        }