Checks database to see if email address is already registered. 
JavaScript to stop check password and confirm password match.