add credit form to courses