editor and middle permission features added, course registration feature changed - added checking of possibility to unregistered from registered course page