Fixing the end points, things are working as advertised now