Added Validate email address function