User creation api call, deployment mongodb ensure index