Added root user check