Change session related methods to be private