refactor metadata contrib html and css for federation schema