adding credits and type to course pages