added custom username. Email is stored in lowerCase now.