Then move sessionCheck() here?