Refactor sessionman plugin - one session per tab