curl for registring