Session.class.php modified