cleaning up session module