Use clearPreviousSession