only load site-specific routes if the sites table exists