Changed db driver login form to use email field type