Proper logout.