changing root, logged in and out