create course fully functional, except can't show in the same page