Moved find_or_invite_by_email to the User model.