added to check fill fields a privateKey and an userID