Password reset tutorial followed, needs debugging