validates presence of name for league and team classes