Added an email check in the register form