finished session destroy function