added permission overview and editing page (editing does not work yet)
implemented permission assigning via web interface
fixed editing permissions and hopefully increased its performance