changes to logout