Changed validation for format of email and url