Added alert in case of password mismatch in registration.