using a single form template for new and edit actions and adding validation for email propertie of contact entity