private void ConfirmCommandExecute()
 {
     try
     {
         if (EntryValidation.IsOnlyLetters(user.FirstName) == false)
         {
             MessageBox.Show("First name can only contain letters. Please try again", "Invalid input");
             return;
         }
         if (EntryValidation.IsOnlyLetters(user.LastName) == false)
         {
             MessageBox.Show("Last name can only contain letters. Please try again", "Invalid input");
             return;
         }
         databaseService.AddUser(user);
         UserView userView = new UserView(user);
         MessageBox.Show("User registered successfully.", "Info");
         firstTimeAccessView.Close();
         userView.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }