set root to login