moved courses table to renderpartial