Modified confirm to now make use of the neutralized db
Debugged functions for confirming
sql errors