added method killSession