Update models.php

change function "select_by_token" in class "invite_M" from 
"select_by_token($token)" to "select_by_token($token, $email)"