update manage courses logic
Merge branch 'master' of github.com:mindpin/eshare