added change to session handling for local and staging in test_my_lists