fixed root user table and functions