Log out now works correctly for all users