buyer logout bugfix