incrementing sessions before doing anything else