Added email validation to initial profile modal.

There was no email validation in place before.