fix sessions_helper to use session vs params