change course type and refactor orgbaseuseraction