implemented a decorator to check permissions
utf8 support for users and roles
templates and modules can have names in utf-8