Good stuff Office guy, just a few other things to add on:
In the Email Password Server Behavior, make sure the Look up column is set to use the email Column.
try adding the following at line 1 of your page:
<?php if(!session_id()) session_start(); ?>