Update archives and create logout