restored +clearSession as a class method