Added field for root user in database and API call