fix downcase email for login