cleanup after change to using sessions module