si si è tramite autenticazione... cmq una domanda sul tuo codice nel foreach... "$user as $utente" che vuol dire? scusami se ti rompo