implemented sessions