created endpoint for the API root