added check for email inputs