validate email and url