implemented changeEmail route handler.  minor tweaks to involved libs to correct bugs