test updateEmail and resetPassword with nonexisting userId