added sid and email fields