added checks for email first name last name