little changes

Small changes to some classes
fix to session.static.php