added grade attribute to courses model and displayed it in course index page