changes in the autoload and in the session class