Fix bug: swith user only if we are root