prova a metterci anche session_unset();