begin to use beans to consult tables and to display rows