Added endpoints for history