check for admin endpoint in root url