setType() added on manage courses form