use generic-session for all session handling