adding duplicate email handler
fixing name of error method