Logout and other updatew