allow email as username. closes #19