Register page checking passwords match before saving