changed the session.class