Adding handling on session revival