minor bug fixes
now prevents duplicate submissions from the same email