updated root, and logout