removed form state save from the logout routine