Cleaning up logout pipeline