Modified DB name, adding logic to make email case insensitive