Fixed the variable name in get_userid_from_email()