resolved duplicate email issue- wasnt sending a response back to browser