public static function reassign_users()
 {
     check_ajax_referer('displet_reassign_users_nonce');
     if (isset($_POST['action']) && $_POST['action'] == 'displet_reassign_users_request') {
         if (!empty($_POST['displet_users'])) {
             if (!empty($_POST['displet_agent']) || !empty($_POST['displet_lender'])) {
                 foreach ($_POST['displet_users'] as $user_id) {
                     DispletRetsIdxLeadsController::reassign_user($user_id, $_POST['displet_agent'], $_POST['displet_lender']);
                 }
                 echo 'Succesful Assignation';
             } else {
                 echo 'No agent or lender has been selected.';
             }
         }
         die;
     }
 }