modified Session Class