Added registration of the endpoint