endSession methods