Changes to session counting. Now working. Yay!