the code to set the emailVerified session is at lines 3 - 8. it needs to come after the code for the reVerify record set which ends at line 59.
This is Dreamweaver placing the code in the wrong place. Dreamweaver uses a numbered weighting system to determine where the code gets placed. Recordsets should have a higher wight then setting sessions, but sometimes dreamweaver will misplace code regardless of the weight given to the code block.