fixed error in new_user api call