Got most of the resetting of forgotten passwords working. Just need to get the final form working.