rebundled for heroku
fixed bug in confirmation code logic