clears session after confirmation message.