Added check to see if the e-mail address is already registered.