feat(session): custom session end