small cleanup of session (more encapsulation)