add in a root user check, additional comments