Separated admin actions and views out from generic user. Added course editing from admin panel. fixes #84 fixes #85