} else {
     echo "Something went wrong with the script...";
 }
 //$Controller->add_user($customer_id, $is_staff, $email, $password, $name, $last_name, $phone, $date_created, $special_access_write);
 require 'classes/PHPMailer/PHPMailerAutoload.php';
 if (!isset($Controller)) {
     $UserCheck = new UserCheck();
 }
 if (!isset($user_info)) {
     $user_info_query = $UserCheck->get_user_info_by_email($_POST['email']);
     $num_results = $user_info_query->num_rows;
     $user_info = $user_info_query->fetch_assoc();
 }
 $project_id = $_POST['project_id'];
 //$email = $_POST['email'];
 $project_query = $UserCheck->project_info($project_id);
 $project_info = $project_query->fetch_assoc();
 $project_image = $Controller->display_project_latest_image('list-img', $project_info['job_id'], '0', '1');
 $system_url = $_GET["base_url"];
 if ($user_exists == '1' && $user_info['password'] != '') {
     $mailed_pass = '******';
 } elseif ($user_exists == '0' && $user_info['password'] != '') {
     $mailed_pass = $user_info['password'];
 } else {
     $mailed_pass = '******'t know you\'re password';
 }
 /*
 $email_query = $Controller->get_user_info_staff($_POST['user_id']); 
 $num_results = $email_query->num_rows; 
 if( $num_results > 0){ 
 $row = $email_query->fetch_assoc();