Fix register problem for non-admin users.

Signed-off-by: tungpham31 <tungpham31@gmail.com>
Fix "Unregister Course" error.

Signed-off-by: tungpham31 <tungpham31@gmail.com>