Validating the email address format

Signed-off-by: Alan Gardner <alan@armoin.com>
Merge branch 'authentication'