modifying the endpoints html templates