add email uniqueness check to registration form