use curl for user service