Added duplicate email validation and tos validation