create directives to validate inputs and show errors messages. Validation of services paths WIP