added to check fill fields privateKey and userId and delete options