Implemented sessions in several more python files.