User "userid" instead of "email" in code