moved the $spl_user[$key] before the if statement and removed the other on