First version of the service container.
corrected email field validation, fixes #1994