Refactor session starting logic to be in one place