Replace deprecated User::isValidEmailAddr calls

Change-Id: I545877bce965ece6e12e8bd43517e69fcf2e57f9