Fixed bug on /resethook, made links in emails HTML links, some misc. cleanup